import java.util.Scanner;

public class Test23 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        String str = sc.nextLine();

        int countOfVowel = 0;//元音字符的个数
        int countOfSpace = 0;//空格的个数

        for (int i = 0; i < str.length(); i++) {
            char ch = str.charAt(i);
            if (ch == ' ') {
                countOfSpace++;
            } else if (ch == 'a' || ch == 'A' || ch == 'e' || ch == 'E'|| ch == 'i' || ch == 'I'|| ch == 'o' || ch == 'O'|| ch == 'u' || ch == 'U') {
                countOfVowel++;
            }
        }
        System.out.println("元音字符的个数" + countOfVowel);
        System.out.println("空格的个数" + countOfSpace);
    }
}

